package com.gitee.mars.tourserver.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gitee.mars.tourserver.entity.TourHotel;
import com.gitee.mars.tourserver.request.TourHotelRequest;
import com.gitee.mars.tourserver.response.base.PageInfo;
import net.sourceforge.pinyin4j.format.exception.BadHanyuPinyinOutputFormatCombination;

/**
 * TourHotel 接口
 *
 * @Author wq
 * @Date 2021-04-14
 **/
public interface ITourHotelService extends IService<TourHotel> {

    /**
     * 获取hotel
     */
    void acquire() throws BadHanyuPinyinOutputFormatCombination;


    /**
     * 列表
     *
     * @param request request
     * @return PageInfo<TourHotel>
     */
    PageInfo<TourHotel> list(TourHotelRequest request);

    TourHotel detail(Integer id);

}
